package com.scorpios.dao;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@SuppressWarnings({"rawtypes", "unchecked"})
@Component
public class X implements FactoryBean {
	@Override
	public Object getObject() throws Exception {
		return new Y();
	}

	@Override
	public Class<?> getObjectType() {
		return Y.class;
	}

	@Override
	public boolean isSingleton() {
		return true;
	}
}
